package com.fm.base.function;

/**
 * @author finalmachine
 */
public interface Converter<F, T> {
    /**
     * convert F to T
     * @param from the value to be converted
     * @return value after converted
     */
    T convert(F from);
}
